/* eslint-disable import/prefer-default-export */
// import { Navigation } from 'react-native-navigation';
import { Navigation } from './modules/views/global/navigation/index';

import Account from './modules/views/account';
import Message from './modules/views/message';
import SearchList from './modules/views/message/searchList';

import Order from './modules/views/order';
import OrderDetail from './modules/views/order/orderDetail';
import OrderAppeal from './modules/views/order/orderAppeal';
import AddOrder from './modules/views/order/addOrder';
import EditServiceSide from './modules/views/order/editServiceSide';

import EditAddress from './modules/views/order/editAddress';
import EditAddrRightBtn from './modules/views/order/editAddrRightBtn';
import ServiceCompletion from './modules/views/order/serviceCompletion';
import NursingServiceCompletion from './modules/views/order/nursingServiceCompletion';

import ImagePeker from './modules/views/order/imagePeker';
import OrderConfirm from './modules/views/order/orderConfirm';
import SelectCity from './modules/views/order/selectCity';

import OrderFinished from './modules/views/account/orderFinished';
import MyMoney from './modules/views/account/myMoney';
import WithdrawList from './modules/views/account/withdrawList';
import OwnerInfo from './modules/views/account/ownerInfo';
import OwnerInfoNew from './modules/views/account/ownerInfoNew';
import OwnerList from './modules/views/account/ownerList';

import SellRecordInfo from './modules/views/account/sellRecordInfo';

import SettingIndex from './modules/views/account/settingIndex';
import SettingPhone from './modules/views/account/settingPhone';
import SettingPassword from './modules/views/account/settingPassword';
import SettingWithdrawPassword from './modules/views/account/settingWithdrawPassword';
import HkBindCard from './modules/views/account/hkBindCard';
import BindCardList from './modules/views/account/bindCardList';
import CardProvinceList from './modules/views/account/cardProvinceList';
import CardCityList from './modules/views/account/cardCityList';
import ApprovedForm from './modules/views/account/approvedForm';

import HkInfo from './modules/views/account/hkInfo';

import CardIndex from './modules/views/account/cardIndex';

// import Search from './modules/movies/Search';

import LoginIndex from './modules/views/auth/loginIndex';
import RegIndex from './modules/views/auth/regIndex';
import AgreeWebView from './modules/views/auth/agreeWebView';
import ForgetPassword from './modules/views/auth/forgetPassword';

import RegSecondStep from './modules/views/auth/regSecondStep';
import MessageView from './modules/views/message/messageView';

import InputGoodsPrice from './modules/views/order/inputGoodsPrice';

//交付审核
import DeliveryList from './modules/views/account/deliveryList';
import DeliveryDetail from './modules/views/account/deliveryDetail';

// 关于管家来了
import AboutKeeper from './modules/views/account/aboutKeeper';
import VersionIntro from './modules/views/account/versionIntro';
import VersionUpdateIntro from './modules/views/account/versionUpdateIntro';

export function registerScreens(store, Provider) {
	Navigation.registerComponent('housekeeperapp.account', () => Account, store, Provider);
	Navigation.registerComponent('housekeeperapp.message', () => Message, store, Provider);
	Navigation.registerComponent('housekeeperapp.searchlist', () => SearchList, store, Provider);

	Navigation.registerComponent('housekeeperapp.order', () => Order, store, Provider);
	Navigation.registerComponent('housekeeperapp.orderdetail', () => OrderDetail, store, Provider);
	Navigation.registerComponent('housekeeperapp.orderappeal', () => OrderAppeal, store, Provider);
	// Navigation.registerComponent('movieapp.Drawer', () => Drawer);
	Navigation.registerComponent('housekeeperapp.addorder', () => AddOrder, store, Provider);
	Navigation.registerComponent('housekeeperapp.editaddress', () => EditAddress, store, Provider);
	Navigation.registerComponent('housekeeperapp.editaddrrightbtn', () => EditAddrRightBtn);

	Navigation.registerComponent('housekeeperapp.editserviceside', () => EditServiceSide, store, Provider);
	Navigation.registerComponent('housekeeperapp.servicecompletion',() => ServiceCompletion, store, Provider)

	Navigation.registerComponent('housekeeperapp.imagepicker', () => ImagePeker, store, Provider);
	Navigation.registerComponent('housekeeperapp.orderconfirm', () => OrderConfirm, store, Provider);
	Navigation.registerComponent('housekeeperapp.orderselectcity', () => SelectCity, store, Provider);


	Navigation.registerComponent('housekeeperapp.orderfinished', () => OrderFinished, store, Provider);
	Navigation.registerComponent('housekeeperapp.mymoney', () => MyMoney, store, Provider);
	Navigation.registerComponent('housekeeperapp.hkbindcard', () => HkBindCard, store, Provider);

	Navigation.registerComponent('housekeeperapp.withdrawlist', () => WithdrawList, store, Provider);
	// 银行卡界面
	Navigation.registerComponent('housekeeperapp.settingindex', () => SettingIndex, store, Provider);
	Navigation.registerComponent('housekeeperapp.cardIndex', () => CardIndex, store, Provider);
	Navigation.registerComponent('housekeeperapp.ownerinfo', () => OwnerInfo, store, Provider);
	Navigation.registerComponent('housekeeperapp.ownerinfonew', () => OwnerInfoNew, store, Provider);
	Navigation.registerComponent('housekeeperapp.ownerlist', () => OwnerList, store, Provider);
	Navigation.registerComponent('housekeeperapp.approvedform', () => ApprovedForm, store, Provider);
	Navigation.registerComponent('housekeeperapp.hkinfo', () => HkInfo, store, Provider);

	Navigation.registerComponent('housekeeperapp.sellrecordinfo',() => SellRecordInfo, store , Provider);

	Navigation.registerComponent('housekeeperapp.settingphone', () => SettingPhone, store, Provider);
	Navigation.registerComponent('housekeeperapp.settingpassword', () => SettingPassword, store, Provider);
	Navigation.registerComponent('housekeeperapp.settingwithdrawpassword', () => SettingWithdrawPassword, store, Provider);

	Navigation.registerComponent('housekeeperapp.loginindex', () => LoginIndex, store, Provider);
	Navigation.registerComponent('housekeeperapp.regindex', () => RegIndex, store, Provider);
	Navigation.registerComponent('housekeeperapp.agreewebview', () => AgreeWebView, store, Provider);
	Navigation.registerComponent('housekeeperapp.regsecondstep', () => RegSecondStep, store, Provider);

	Navigation.registerComponent('housekeeperapp.messageview', () => MessageView, store, Provider);
	Navigation.registerComponent('housekeeperapp.inputgoodsprice', () => InputGoodsPrice, store, Provider);
	Navigation.registerComponent('housekeeperapp.bindcardlist', () => BindCardList, store, Provider);
	Navigation.registerComponent('housekeeperapp.cardprovincelist', () => CardProvinceList, store, Provider);
	Navigation.registerComponent('housekeeperapp.cardcitylist', () => CardCityList, store, Provider);
	Navigation.registerComponent('housekeeperapp.forgetpassword', () => ForgetPassword, store, Provider);

	//交付审核
	Navigation.registerComponent('housekeeperapp.deliverylist', () => DeliveryList, store, Provider);
	Navigation.registerComponent('housekeeperapp.deliverydetail', () => DeliveryDetail, store, Provider);
	//关于管家
	Navigation.registerComponent('housekeeperapp.aboutkeeper',()=> AboutKeeper, store, Provider);
	Navigation.registerComponent('housekeeperapp.versionintro',()=> VersionIntro, store, Provider);
	Navigation.registerComponent('housekeeperapp.versionupdateintro',()=> VersionUpdateIntro, store, Provider);
	//护理服务完成订单
	Navigation.registerComponent('housekeeperapp.nursingservicecompletion',()=> NursingServiceCompletion, store, Provider);


}
